﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SelfMadeMillionaire.Core.Entities;
using SelfMadeMillionaire.Core.Repositories;

namespace SelfMadeMillionaire.DAL.Repositories
{
	public class SchedulerRepository : Repository<Scheduler>, ISchedulerRepository
	{
		public SchedulerRepository(IUnitOfWork unitOfWork) : base(unitOfWork)
		{
		}

		public IEnumerable<Scheduler> GetSubscribers()
		{
			return _uow.GetDbSet<Scheduler>();
		}
	}
}
